package fr.mav.gamecardcounter.Activity;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import fr.mav.gamecardcounter.R;

/**
 * An example full-screen activity that shows and hides the system UI (i.e.
 * status bar and navigation/system bar) with user interaction.
 *
 */
public class FullscreenActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_fullscreen);
    }

    public void beloteGame(View view) {
        Intent beloteGameIntent = new Intent(this, BeloteGameActivity.class );
        beloteGameIntent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
        beloteGameIntent.putExtra("gameType","Belote");
        startActivity(beloteGameIntent);
    }

    public void taroteGame(View view) {
        Intent tarotGameIntent = new Intent(this, TarotGameActivity.class );
        tarotGameIntent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
        tarotGameIntent.putExtra("gameType","Tarot");
        startActivity(tarotGameIntent);
    }


}
